package com.sxit.myproscenium.common.config;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.security.SecurityScheme;
import org.springframework.context.annotation.Configuration;

/**
 * SpringDoc配置类
 *
 * @author Mondey
 */
@Configuration
@OpenAPIDefinition(
    info =
        @Info(title = "tdf-bms-java", description = "山工院大数据系教学资料档案管理系统后端Java项目", version = "1.0v"))
@SecurityScheme(
    name = "token",
    type = SecuritySchemeType.HTTP,
    bearerFormat = "JWT",
    scheme = "bearer")
public class SpringDocConfig {}
